<!DOCTYPE html>
<html lang="zh-cn">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1,initial-scale=1,user-scalable=no" />
	<title>配置组件-组件</title>
	<style>
		.liked{
			background: deeppink;
		}
	</style>
</head>
<body>
	<div id="app">
		<like></like>
	</div>
	<template id="like-component-tpl">
		<button :class="{liked:liked}" @click="toggle_like()">
			赞{{like_count}}
		</button>
	</template>

	<script src="../resource/lib/vue.js"></script>
	<script src="../resource/js/assembly.js"></script>
</body>
</html>